1 setup

Run this daily to get a snapshot of tag stats and health

2 notes

2.1 PATH TO LATEST DATA

# paths to update when you run
portaldir <- "portal_downloads"
datadirss <- list.files(portaldir)
datadir <- file.path(portaldir, datadirss[length(datadirss)])

2.2 basic helper function

2.3 load paths adjust as needed

2.4 Import data from wildlife portal and the goniometer. Merge the two stacks.

## Warning in sattagutils::load_tag(dpaths[d], streams, stream_delim,
## retain_date_format = retain_date_format): 233108-Series.csv: i can't seem to
## find any data...

3 tag summary

ptt hex serial tag_model deployid catalog_ID_DUML BRS_season deploydate_yyyymmdd deploytime_hhmm species location tagger permit tagtype longitude latitude tagside taglocation taglocationnotes programming_basic_descriptor notes recorder age sex agesex_conf headshot agesex_reason appearance_notes
4 220740 2C2704C NA SPLASH10-333 ZcTag136_DUML NA brs10 20230725 1321 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
5 220736 2C27000 NA SPLASH10-333 ZcTag137_DUML NA brs10 20230725 1449 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a f high y mother calf NA
6 220743 2C27079 NA SPLASH10-333 ZcTag138_DUML NA brs10 20230725 1924 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
1 220745 2C27098 NA SPLASH10-333 ZcTag139_DUML NA brs10 20230726 1638 Zca Hat dlw NA NA NA NA R NA NA NA NA NA u u y NA
2 233112 406B18B NA SPLASH10-333 ZcTag140_DUML NA brs10 20230726 1958 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
3 233115 406B1BE NA SPLASH10-333 ZcTag141_DUML NA brs10 20230726 2027 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
9 233118 406B1E1 NA SPLASH10-333 ZcTag142_DUML NA brs10 20230807 1340 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
8 233110 406B16A NA SPLASH10-F-333 ZcTag143_DUML NA brs10 20230807 1558 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
7 233111 406B179 NA SPLASH10-F-333 ZcTag144_DUML NA brs10 20230807 1620 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
10 233108 406B14C NA SPLASH10-F-333 ZcTag145_DUML NA brs10 20230821 1901 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA
11 233107 406B135 NA SPLASH10-F-333 ZcTag146_DUML NA brs10 20230821 1914 Zca Hat dlw NA NA NA NA NA NA NA NA NA NA

4 calculate stats

## Warning in min(x): no non-missing arguments to min; returning Inf
## Warning in max(x): no non-missing arguments to max; returning -Inf

5 summaries

5.1 status and corrupt

deployid ptt nmsg ncrc transmits battvoltrange zerodepthrange last_sta_recieved ncorrupt
5 233107 233107 1 1 NA Inf to -Inf 1 to 1 2023-08-21 23:02:10 2
6 233108 233108 2 0 0 10
2 ZcTag136_DUML 220740 74 74 10824 3.248 to 3.568 -13 to 4 2023-08-21 22:18:09 198
1 ZcTag137_DUML 220736 22 21 9451 3.376 to 3.504 1 to 3 2023-08-21 11:49:36 238
3 ZcTag138_DUML 220743 10 6 871 3.568 to 3.568 2 to 3 2023-08-07 14:30:41 334
4 ZcTag139_DUML 220745 11 11 4143 3.504 to 3.568 -37 to 1 2023-08-07 14:31:02 154
9 ZcTag140_DUML 233112 7 7 1188 3.44 to 3.504 1 to 3 2023-08-02 11:16:31 81
10 ZcTag141_DUML 233115 16 15 1702 3.504 to 3.504 1 to 3 2023-07-30 14:31:55 52
11 ZcTag142_DUML 233118 27 26 4418 3.44 to 3.504 3 to 6 2023-08-22 00:48:23 72
7 ZcTag143_DUML 233110 6 6 4880 3.44 to 3.504 2 to 3 2023-08-22 01:58:27 169
8 ZcTag144_DUML 233111 1 0 0 211

5.2 locations

deployid ptt nloc nz na nb n0 n1 n2 n3 last_loc_recieved
5 233107 233107 10 0 0 4 6 0 0 0 2023-08-22 09:16:21
6 233108 233108 11 0 1 2 7 0 1 0 2023-08-22 03:37:02
2 ZcTag136_DUML 220740 469 1 37 105 216 79 24 7 2023-08-22 09:47:11
1 ZcTag137_DUML 220736 336 1 48 119 111 44 11 2 2023-08-22 09:47:33
3 ZcTag138_DUML 220743 213 0 37 114 29 24 6 3 2023-08-12 16:06:58
4 ZcTag139_DUML 220745 203 1 24 140 28 6 2 2 2023-08-22 00:22:32
9 ZcTag140_DUML 233112 71 1 13 31 19 4 3 0 2023-08-02 11:15:31
10 ZcTag141_DUML 233115 63 1 10 20 24 7 1 0 2023-07-30 17:41:17
11 ZcTag142_DUML 233118 190 0 26 36 86 36 6 0 2023-08-22 09:42:05
7 ZcTag143_DUML 233110 170 1 26 68 58 16 1 0 2023-08-22 09:15:23
8 ZcTag144_DUML 233111 153 0 23 92 33 4 1 0 2023-08-22 02:02:10

5.3 behavior

deployid ptt n_beh_msgs totalbeh_time_hours nbehgaps behgap_time_hours latest_beh_recieved
5 233107 233107 0 0 0 0
6 233108 233108 0 0 0 0
2 ZcTag136_DUML 220740 0 0 0 0
1 ZcTag137_DUML 220736 0 0 0 0
3 ZcTag138_DUML 220743 0 0 0 0
4 ZcTag139_DUML 220745 0 0 0 0
9 ZcTag140_DUML 233112 0 0 0 0
10 ZcTag141_DUML 233115 0 0 0 0
11 ZcTag142_DUML 233118 0 0 0 0
7 ZcTag143_DUML 233110 0 0 0 0
8 ZcTag144_DUML 233111 0 0 0 0

5.4 series

this doesn’t count the messages quite right for some reason, but you get the idea. you can scroll down below and see the plot of messages receieved.

deployid ptt n_ser_msgs totalser_time_hours nsergaps sergap_time_hours nsermsggaps latest_ser_recieved
5 233107 233107 3 12 1 4 1 2023-08-22 08:00:00
6 233108 233108 1 0 0 NA NA 2023-08-21 16:00:00
2 ZcTag136_DUML 220740 129 516 0 0 0 2023-08-16
1 ZcTag137_DUML 220736 115 460 9 56 14 2023-08-16
3 ZcTag138_DUML 220743 37 148 18 120 30 2023-08-05 20:00:00
4 ZcTag139_DUML 220745 49 192 19 328 82 2023-08-17
9 ZcTag140_DUML 233112 19 76 6 40 10 2023-07-31 16:00:00
10 ZcTag141_DUML 233115 16 64 3 28 7 2023-07-30 16:00:00
11 ZcTag142_DUML 233118 78 312 2 8 2 2023-08-20 20:00:00
7 ZcTag143_DUML 233110 44 176 12 140 35 2023-08-20 20:00:00
8 ZcTag144_DUML 233111 25 100 14 176 44 2023-08-19 08:00:00

5.5 fastloc

deployid ptt fastloc_received fastloc_locnum fastloc_failures fastloc_latest
ZcTag137_DUML 220736 0 0 0 0
ZcTag136_DUML 220740 0 0 0 0
ZcTag138_DUML 220743 0 0 0 0
ZcTag139_DUML 220745 0 0 0 0
233107 233107 2 2 1 22-Aug-2023 04:26:30
233108 233108 2 1 1 21-Aug-2023 22:17:21
ZcTag143_DUML 233110 47 316 365 20-Aug-2023 21:26:32
ZcTag144_DUML 233111 15 38 139 21-Aug-2023 15:33:55
ZcTag140_DUML 233112 0 0 0 0
ZcTag141_DUML 233115 0 0 0 0
ZcTag142_DUML 233118 0 0 0 0

6 position snapshot

Plot of the last four positions for all the tags which have generated an argos position within the last 3 days

7 plot pressure sensors

PROVISIONAL plot status cutoffs and bat voltage. Cutoffs are in dotted red lines. These are either:

  1. healthy tags: the last status messages as a conservative cutoff and on tags that are still actively transmitting this is likely to increase
  2. unhealthy pressure transducer tags: if there are 2 status messages (crc’d) where the | zerodepth | > 10 then this is the last good status message before the 1st of those two bad messages.

We have settled on a more complicated cutoff system to capture a little more very likely good data. For detail please see DATAPREP_sattag_processing. But this gives you a general idea of approx. cutoffs and pressure transducer health.

8 control cee

8.1 +/- 12 hour look at ship based cee 23_01 on 20220804

gonio hits in purple

9 series message source plots

10 zoom in on megadives from 136 while offshore

note the time frames highlighted on the map are approximately the same just had a different number of uplinks and precision at those times.